Delete App Environment

Delete an existing App Environment in the specified Project.

DELETE{accelqLoginUrl}/awb/api/2.0/{tenantCode}/{projectCode}/conf/app-environments/{appEnvironmentId}

Headers

HeaderValue
user_idLogin username (email)
api_keyAPI key of the user for authentication
Content-Typeapplication/json
Acceptapplication/json

Parameters

ParameterTypeRequiredDescription
accelqLoginUrlstringYesThe AccelQ login URL for API access.
tenantCodestringYesTenant code for identifying the organization.
projectCodestringYesProject Code found under Auth properties of ACCELQ User Profile
appEnvironmentIdintegerYesThe ID of the App Environment to delete.
user_idstringYesLogin username (email)
api_keystringYesAPI key of the user for authentication

Responses

204 - App Environment successfully deleted.

No response sample available

400 - Bad Request. Validation errors occurred.

json
{
  "error": "Invalid dataset ID provided."
}

422 - App Environment or Project not found.

json
{
  "error": "App environment with ID '15754' not found."
}

cURL Command Builder

URL Parameters

Headers

Request Sample (cURL)

curl -X DELETE "${{accelqLoginUrl}}/awb/api/2.0/${{tenantCode}}/${{projectCode}}/conf/app-environments/${{appEnvironmentId}}" \
  -H "user_id: ${{user_id}}" \
  -H "api_key: ${{api_key}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json"